<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="include/base.jsp" %>

<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">
	<title>凯盛项目管理系统</title>
	<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
	<link rel="stylesheet" type="text/css" href="css/style.css">
	<style>
    body{
        width: 960px;
        margin-left: auto;
        margin-right: auto;
    }
    .btn{
      margin-left: 140px;

   }
   .form-actions{
      background-color: #fff;
      border-top: 0px solid #E5E5E5;
   }
  </style>
</head>
<body class="body">
	
	<%@include file="include/top.jsp" %>
	
	<div class="container" style="padding-top:10px">
	  <div class="row">
		<div class="span3">
			<%@include file="include/left.jsp" %>
		</div>
		<div class="span9">
			<form class="form-horizontal" style="background-color:white;"action="newIdea.jspx" method="post" id="ist">
        <fieldset style="width:700px">
          <ul class="breadcrumb" style="margin-bottom:0px;border-radius: 3px 3px 0 0;margin-top:15px">
              <li class="active">
                <h3>添加新想法</h3>
              </li>
         </ul>
          <div class="control-group">
            <div style="height:20px"></div>
            <label class="control-label" for="input01"><span style="color:red">*&nbsp;</span>标题</label>
            <div class="controls">
              <input type="text" class="span6" id="input01" x-webkit-speech="undefined" name="title" value="${idea.title }">
            </div>
          </div>
		  <div class="control-group">
            <label class="control-label" for="input01"><span style="color:red">*&nbsp;</span>内容</label>
            <div class="controls">
              <textarea name="content" id="" class="span6" rows="15" >${idea.content}</textarea>
            </div>
          </div>
          <input type="hidden" value="${idea.id }" name="ideaId"/>
          <div class="form-actions container" style="width:500px">
            <button type="submit" class="btn btn-primary">保&nbsp;存</button>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <a class="btn" onclick="location.back()"style="margin-left:-10px" href="idea.jspx">返&nbsp;回</a>
          </div>
        </fieldset>
      </form>          
	</div>

	<script type="text/javascript" src="js/jquery.min.js"></script>
	<script type="text/javascript" src="js/bootstrap.min.js"></script>
	<script type="text/javascript">
		$(document).ready(function(){
			$(".btn").click(function(){
				$("#ist").submit();
			})
		});
	</script>
</body>
</html>